var mongoose = require('mongoose')
mongoose.connect('mongodb://localhost:27017/')
.then(()=>{
    console.log('连接成功');
})
.catch(err=>{
    console.log('连接失败');
})

// let biaoSchema = new mongoose.Schema({
//     name:String,
//     addr:String,
//     jiantype:String,
//     loutype:String,
//     mianji:String,
//     junjia:String,
//     miaoshu:String
// })

// let biaoModel = mongoose.model('biao',biaoSchema,'biao')

// module.exports = {
//     biaoModel,
// }